package com.server;

import com.pojo.Admin;
import com.pojo.Member;
import com.pojo.Product;

import java.util.Date;
import java.util.List;

public interface ProductService {

    Product selectProductById(int product_id);

    public int addByID(int product_id);

    List<Product> findproduct(String product_name);

    public List<Product> getAdd(int product_id, String description);

    public List<Product> getproductList();
    public List<Product> getproducandproductimageList();

    public int updateproduct(int product_id,String product_name,String product_s_price,String product_price);

    public int addproduct(int product_id, String product_name, String product_s_price, String product_price, Date product_create_time);

    public int delproduct(int product_id);
}
